class config():
    SQLALCHEMY_DATABASE_URI = 'mysql://root:1163196477@localhost:3306/test'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = False
    DEBUG = True
    SQLALCHEMY_POOL_SIZE = 100  # 解决数据库连接接溢出问题
    # HOST='0.0.0.0'


class production(config):
    pass


class work(config):
    DEBUG = False


work_model = {
    'production': production,
    'work': work
}
